<template>
  <view style="padding: 20rpx 32rpx;"><u-parse :html="title"></u-parse></view>
</template>

<script>
export default {
  data() {
    return {
      title: ''
    };
  },
  onShow() {
    this.init();
  },
  methods: {
    async init() {
      let n = await this.$api.richtext({ id: 8 });
      this.title = n.data.content;
    }
  }
};
</script>

<style lang="scss">
* {
  box-sizing: border-box;
}
</style>
